package guy.flavell.core.genome;

import org.apache.log4j.Logger;

public class Gamete {

	private static Logger LOG = Logger.getLogger(Gamete.class);
	byte gender;
	public Gamete(Genome genome) {
		
		int bit = (int) (Math.random() * 4);
		gender = (byte)  (genome.getGender() >> bit & 1);
		LOG.debug("Gender: " + gender);
	}

}
